package com.sofly.dao.group3;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sofly.entity.Parts;

public interface IPartsDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Parts record);

    int insertSelective(Parts record);

    Parts selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Parts record);

    int updateByPrimaryKey(Parts record);

	List<Parts> selectParent(@Param("parent")String parent);
    
    List<Parts> getPageParts(@Param("page") int page,@Param("size") int size);
    
    int getCount();
}